import {request} from "../request";

//1、获取我的任务
export function getMyTasks(userId){
	return request({
		url: '/flowable/general/my-tasks',
		method: 'get',
		params: {
			userId
		}
	})
}

//2、获取我发起的流程
export function getMyStarts(userId){
	return request({
		url: '/flowable/general/my-start',
		method: 'get',
		params:{
			userId
		}
	})
}